import torch
import numpy as np
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')

t1 = torch.tensor([1,2,3])
t2 = t1+10
print(t2)
t3 = t1.add(10)
print(t3)
t4  =  torch.add(t1, 10)
print(t4)